package su.samcom.calc.service;

import su.samcom.calc.exception.RouteNotFoundException;
import su.samcom.calc.service.record.LocationRecord;
import su.samcom.calc.model.entity.Price;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Владислав
 * Date: 24.11.13
 * Time: 15:11
 * To change this template use File | Settings | File Templates.
 */
public interface CalculatorService {

    public List<Price> getCargoPrices(Long locationAId, Long locationBId, CalculatorServiceImpl.CargoType cargoType) throws RouteNotFoundException;

    public List<LocationRecord> getLocationRecords(String likeName);
}
